<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>">
		<meta charset="UTF-8"/>
		<title>添加班级</title>
		<link type="text/css" rel="stylesheet" href="css/style.css"/>
		<style type="text/css">
			table{border:1px solid #0099FF; background:#FFFF99; width:480px;  border-radius:25px 25px 0px 0px; margin-top:30px}
		</style>
	</head>
	<body>
		<form name="form1" method="post" action="ClassUpdateServlet">
		  <table align="center" >
			<tr>
			  <td height="109" colspan="2">
			  	<h2 style=" text-align:center">修改班级信息</h2>
			  </td>
			</tr>
			<tr>
			  <td width="131"><div align="right" class="textStyle">班级编号：</div></td>
			  <td width="340"><label>
			  	${c.cid}
				<input type="hidden" name="cid" class="inputStyle" required="required" value="${c.cid}">
			  </label></td>
			</tr>
			<tr>
			  <td width="131"><div align="right" class="textStyle">班级名称：</div></td>
			  <td width="340"><label>
				<input type="text" name="cname" class="inputStyle" required="required" value="${c.cname}">
			  </label></td>
			</tr>
			<tr>
			  <td width="131"><div align="right" class="textStyle">班主任：</div></td>
			  <td width="340"><label>
				<input type="text" name="leader" class="inputStyle" required="required" value="${c.leader}">
			  </label></td>
			</tr>

			<tr>
			  <td width="131"><div align="right" class="textStyle">备注：</div></td>
			  <td width="340"><label>
				<textarea rows="4" name="remark" class="inputStyle" style="height:50px">${c.remark}</textarea>
			  </label></td>
			</tr>
			
			<tr height="60px">
			  <td>&nbsp;</td>
			  <td><label>
				<input type="submit" name="Submit" value="提交修改" class="btnStyle">
			  </label></td>
			</tr>
		  </table>
		</form>
	
	</body>
</html>